var http = require('http'),
  fs = require('fs');

http.createServer(function(req, res) {
  var template = fs.readFileSync(__dirname+'/templates/index.html');
  res.writeHead(200, { 'Content-Type': 'text/html' });
  res.end(template);
}).listen(3000);
console.log('server start,server\'s port:3000');
